package com.party.core.dao.write.gift;

import com.party.core.dao.write.BaseWriteDao;
import com.party.core.model.gift.GiftTarget;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Author: Administrator.
 * @Description: 礼包和目标关系
 * @Date:Created in 2017/11/15 0015 上午 10:32.
 */
@Repository
public interface GiftTargetWriteDao extends BaseWriteDao<GiftTarget> {
    void deleteByGiftId(@Param(value = "giftId") String giftId);

    void deleteByUnique(@Param(value = "giftTarget") GiftTarget giftTarget);

    void deleteByTargetId(@Param(value = "targetId") String targetId);
}
